import { ADDIPWHITE, ENABLEIPWHITE, DELIPWHITE, GETIPWHITE } from "./api";
import { METHOD, request } from "@/utils/request";

export function list(params) {
  return request(GETIPWHITE, METHOD.GET, params);
}
export function add(params) {
  return request(ADDIPWHITE, METHOD.POST, params);
}
export function enableIpWhite(params) {
  return request(ENABLEIPWHITE, METHOD.POST, params);
}
export function del(params) {
  return request(DELIPWHITE, METHOD.GET, params);
}
